package com.xungou.goodtype.dao;


import com.xungou.core.mvc.IDao;
import com.xungou.goodtype.pojo.GoodType;

import java.util.List;
import java.util.Map;

public interface IGoodType  extends IDao<GoodType> {

    String getCode(GoodType record);

    int deleteByCode(String code);

    List<Map<String,Object>> getTypeTree();

    List<Map<String,Object>> getGoodTypeList(Map<String, String> params);
}